Skip to content

Added support for --api-version to the CLI. - #1437

Draft
ggainey wants to merge 1 commit into
pulp:mainfrom
ggainey:v4_support
Draft

Added support for --api-version to the CLI.#1437
ggainey wants to merge 1 commit into
pulp:mainfrom
ggainey:v4_support

Conversation

@ggainey

@ggainey ggainey commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Helpful in talking to pulp/pulpcore#7802 - this works but is likely "incomplete" - and certainly needs tests and such.

@ggainey
ggainey marked this pull request as draft June 17, 2026 13:38
@ggainey
ggainey force-pushed the v4_support branch 2 times, most recently from ffd5ef8 to 8e38aaa Compare June 17, 2026 18:38
Comment thread pulp-glue/src/pulp_glue/common/openapi.py
Comment thread src/pulp_cli/config.py
str(Path(click.utils.get_app_dir("pulp"), "cli.toml")),
]
FORMAT_CHOICES = list(REGISTERED_OUTPUT_FORMATTERS.keys())
VERSIONS = ["v3", "v4", "v5"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is v5 for experimenting? Or really taking the future into account?

@ggainey ggainey changed the title DRAFT versioned-api support Added support for --api-version to the CLI. Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants